package com.perceptivesoftware.licensing.server.util;

import java.util.UUID;
import org.springframework.stereotype.Component;

@Component
public class ServerUtil
{

	public static String genGUID()
	{
		String strGUID = "";

		UUID uuid = UUID.randomUUID();;

		strGUID = uuid.toString().toUpperCase();
		return strGUID;
	}

	public String genAutoGUID()
	{
		String strGUID = "";

		UUID uuid = UUID.randomUUID();;

		strGUID = uuid.toString().toUpperCase();
		return strGUID;
	}
}
